import React from 'react';
import styles from './index.less';
import { history, formatMessage, useIntl, getDvaApp, withRouter, connectMaster } from 'umi';
import { Button } from 'antd';
import { connect } from 'dva';
import { routerGo } from '@/utils/router';


import Comp1 from './Comp1';
import MicroApp from '@/pages/microApps/components/MicroApp';

// 重要 重要 重要 （子应用依赖那些应用在这里引入 发生变化会渲染 否则子应用不渲染）
@connect(({ user }) => ({
  user
}))
export default class extends React.Component {
  componentDidMount() {

  }
  render() {
    return (
      <div>
        <Comp1 />
        <MicroApp name={'app1'} />
      </div>
    );
  }
}
